package org.imsetal.ilpointservice.pojo;

import com.baomidou.mybatisplus.annotation.IdType;
import com.baomidou.mybatisplus.annotation.TableId;
import com.baomidou.mybatisplus.annotation.TableName;
import lombok.Data;

@Data
@TableName("userpoint")
public class Userpoint {
    @TableId(type = IdType.AUTO)
    Long id;
    Long userid;
    int point;

    public Userpoint(Long userid){
        this.userid = userid;
        this.point = 0;
    }
}
